package com.aos.erp.manager.enums.sys;

import com.baomidou.mybatisplus.core.enums.IEnum;

import java.io.Serializable;

public enum OrganizationState implements IEnum {
    del(0, "删除"),
    normal(1, "可用 默认"),
    unavailable(2, "不可用");

    private int value;
    private String desc;

    OrganizationState(final int value, final String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Serializable getValue() {
        return this.value;
    }


    public String getDesc() {
        return this.desc;
    }
}

